package com.microcdy.sys.pojo;
import javax.persistence.*;
import java.io.Serializable;
import java.lang.Long;
/****
 * @Author:cdy
 * @Description:SysUserRole构建
 * @Date 2019/6/14 19:13
 *****/
@Table(name="sys_user_role")
public class SysUserRole implements Serializable{

	@Id
    @Column(name = "user_id")
	private Long userId;//用户ID

    @Column(name = "role_id")
	private Long roleId;//角色ID



	//get方法
	public Long getUserId() {
		return userId;
	}

	//set方法
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	//get方法
	public Long getRoleId() {
		return roleId;
	}

	//set方法
	public void setRoleId(Long roleId) {
		this.roleId = roleId;
	}


}
